import request from '@/utils/request'

// 查询用户评论帖子列表
export function listTiebaComments(query) {
  return request({
    url: '/system/TiebaComments/list',
    method: 'get',
    params: query
  })
}

// 查询用户评论帖子详细
export function getTiebaComments(id) {
  return request({
    url: '/system/TiebaComments/' + id,
    method: 'get'
  })
}

// 新增用户评论帖子
export function addTiebaComments(data) {
  return request({
    url: '/system/TiebaComments',
    method: 'post',
    data: data
  })
}

// 修改用户评论帖子
export function updateTiebaComments(data) {
  return request({
    url: '/system/TiebaComments',
    method: 'put',
    data: data
  })
}

// 删除用户评论帖子
export function delTiebaComments(id) {
  return request({
    url: '/system/TiebaComments/' + id,
    method: 'delete'
  })
}
